/* Header & Navigation Styles */
.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--body-bg-color);
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    color: var(--title-color);
    font-weight: 700;
    font-size: 1.5rem;
}

.nav__list {
    display: flex;
    gap: 2.5rem;
}

.nav__link {
    color: var(--text-color);
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.nav__link:hover {
    color: var(--primary-color);
}
/* Active link underline effect */
.nav__link:hover::after,
.nav__link.active-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.nav__toggle {
    font-size: 1.5rem;
    cursor: pointer;
    display: none; /* Hidden on desktop */
}

/* Responsive Navigation (Mobile) */
@media screen and (max-width: 992px) {
    .nav__toggle {
        display: block;
    }

    .nav__menu {
        position: fixed;
        top: var(--header-height);
        right: -100%; /* Hide off-screen */
        width: 60%;
        height: 100vh;
        background-color: var(--body-bg-color);
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        padding: 2rem;
        transition: var(--transition);
    }
    
    /* This class will be added by JavaScript to show the menu */
    .show-menu {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 2rem;
    }
}